package com.atguigu.guli.edu.dao;

import com.atguigu.guli.edu.entity.Chapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 课程
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-19 10:59:18
 */
@Mapper
public interface EduChapterDao extends BaseMapper<Chapter> {

    List<Chapter> queryChapterAndVideo(@Param("courseid") String courseId);
}
